package com.alveole.events.browser;

import java.util.ArrayList;
import java.util.List;

import com.alveole.events.server.ServerEvent;
import com.alveole.objects.BrowserSession;

public abstract class BrowserEvent {
	//protected String command;
	protected BrowserSession browserSession;
	protected List <ServerEvent> serverEvents;
	public abstract void addServerEvents();
	public List<ServerEvent> getServerEvents(BrowserSession browserSession)
	{
		this.browserSession=browserSession;
		serverEvents = new ArrayList<ServerEvent>();
		addServerEvents();
		return serverEvents;
	}


}
